package m.toolkit.rrd4j;

import java.lang.reflect.Modifier;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author ming
 * @date 2014年2月24日下午9:03:29
 */
public class DataSource {
	enum DataSourceType {
		COUNTER, GUAGE, DERIVE, ABSOLUTE, COMPUTE;
	}

	private String name;
	private DataSourceType dst;
	//多长时间没收到就讲记录设置为unknown,单位秒
	private Integer heartbeat;
	//最下值,不知道就写U
	private String min;
	//最大,不知道写U
	private String max;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public DataSourceType getDst() {
		return dst;
	}
	public void setDst(DataSourceType dst) {
		this.dst = dst;
	}
	public Integer getHeartbeat() {
		return heartbeat;
	}
	public void setHeartbeat(Integer heartbeat) {
		this.heartbeat = heartbeat;
	}
	public String getMin() {
		return min;
	}
	public void setMin(String min) {
		this.min = min;
	}
	public String getMax() {
		return max;
	}
	public void setMax(String max) {
		this.max = max;
	}
	

}
